package com.xianyun.site.iblog.user.executor.command;

import com.alibaba.cola.dto.Response;
import com.xianyun.site.iblog.domain.user.gateway.SystemUserGateway;
import com.xianyun.site.iblog.dto.user.UserNameChangeCmd;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import javax.validation.Valid;

/**
 * 用户名修改
 * @author mac_zyj
 */
@Component
public class UserNameChangeCmdExo {

    @Autowired
    private SystemUserGateway systemUserGateway;

    public Response execute(@Valid UserNameChangeCmd cmd){
        return Response.buildSuccess();
    }
}
